<?php
/*
 * @component AlphaGetCouponCode
 * @copyright Copyright (C) 2008-2009 Bernard Gilly
 * @license : GNU/GPL
 * @Website : http://www.alphaplug.com
 */

// no direct access
defined('_JEXEC') or die('Restricted access');

function getCopyrightNotice () {

	$copyStart = 2008; 
	$copyNow = date('Y');  
	if ($copyStart == $copyNow) { 
		$copySite = $copyStart;
	} else {
		$copySite = $copyStart."-".$copyNow ;
	}

	/** 
	*
	*  Provide copyright on frontend
	*  If you remove or hide this lines below,
	*  please make a donation if you find AlphaBuyPoints usefull
	*  and want to support its continued development.
	*  Your donations help by hardware, hosting services and other expenses that come up as we develop,
	*  protect and promote AlphaUserPoints and other free components.
	*  You can donate on http://www.alphaplug.com
	*
	*/	
	
	echo "<p>&nbsp;</p><div style=\"clear:both;text-align:center;\">"
	. "<span class=\"small\">Powered by <a href=\"http://www.alphaplug.com\" target=\"_blank\">AlphaGetCouponCode</a> &copy; $copySite</span>"
	. "</div><p>&nbsp;</p>"
	;

}
?>